package com.cfr.restlet.beans;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Info")
public class InfoBean {
	private String code;
	private long responseTime;
	private String comment;

	public InfoBean() {
	}

	public InfoBean(String code, String comment, long responseTime) {
		this.code = code;
		this.comment = comment;
		this.responseTime = responseTime;
	}

	public String getCode() {
		return code;
	}

	@XmlElement
	public void setCode(String code) {
		this.code = code;
	}

	public long getResponseTime() {
		return responseTime;
	}

	@XmlElement
	public void setResponseTime(long responseTime) {
		this.responseTime = responseTime;
	}

	public String getComment() {
		return comment;
	}

	@XmlElement
	public void setComment(String comment) {
		this.comment = comment;
	}
}
